include_directories(include)
include_directories(OsdInfo)
include_directories(media)

add_library(ingenic_sdk ${src_chip_sdk} ${src_chip_ctrl_gpio})
target_link_libraries(ingenic_sdk imp alog audioProcess iconv)

if(CMAKE_USE_CHIP_AI)
    set(lib_ingenic_ai aip drivers venus personvehiclepetDet_inf mxu_core mxu_imgproc mxu_merge mxu_video)
endif()

set(ChipSdk_cache_lib ingenic_sdk ${lib_ingenic_ai} CACHE STRING INTERNAL FORCE)
